Sound adds another dimension to software programs. Imagine listening to a symphony while viewing its score. Or adding an audio note to a spreadsheet to make sure the reader is clear about a particular section. Or listening to a director describe the techniques used in filming a movie while viewing a clip from it. Or identifying a bird by its song. Sound opens up the possibilities for newst each other in putting together multimedia: Size and Quality.
This is no less true when dealing with sound files. The better the quality of the sound, the bigger the file will be. A file of stereo sound will be twice as big as a mono file; CD-quality audio will take up twice as much space as files recorded using the Windows Sound Recorder.
text3
Or identifying a bird by its song. ware programs. Imagine listening to a symphony while viewing its score. Or adding an audio note to a spreadsheet to make sure the reader is clear about a particular section. Or listening to a director describe the techniques used in filming a movie while viewing a clip from it. Or identifying a bird by its song. Sound opens up the possibilities for newst each other in putting together multimedia: Size and Quality.
This is no less true when dealing with sound files. The better the quality of the sound, the bigger the file will be. A file of stereo sound will be twice as big as a mono file; CD-quality audio will take up twice as much space as files recorded using the Windows Sound Recorder.
text2
Imagine listening to a symphony while viewing its score. Or adding an audio note to a spreadsheet to make sure the reader is clear about a particular section. Or listening to a director describe the techniques used in filming a movie while viewing a clip from it. Or identifying a bird by its song. clip from it. Or identifying a bird by its song. Sound opens up the possibilities for newst each other in putting together multimedia: Size and Quality.
This is no less true when dealing with sound files. The better the quality of the sound, the bigger the file will be. A file of stereo sound will be twice as big as a mono file; CD-quality audio will take up twice as much space as files recorded using the Windows Sound Recorder.
group2
plast
1770,3690,4335,5955
pfirst
1770,3690,4335,5955
:PHYSSIZE
:PHYSSIZE
SetSpecialCursor("Special2")
"vo1"
tbkMCIchk ("close wavefile","",1,1)
\sound\sym.
! type waveaudio alias
Qplay
0 hold","",1,1)
mouseLeave
mouseEnter
buttondown
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttondown
buttonup
close wavefile
tbkMCIchk
open \sound\sym.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
:PHYSSIZE
group1
plast
5808,2205,8895,4905
pfirst
5808,2205,8895,4905
:PHYSSIZE
:PHYSSIZE
SetSpecialCursor("Special2")
"vo2"
tbkMCIchk ("close wavefile","",1,1)
\sound\b_canary.
& type waveaudio alias
Vplay
0 hold","",1,1)
mouseLeave
mouseEnter
buttondown
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttondown
buttonup
close wavefile
tbkMCIchk
open \sound\b_canary.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
:PHYSSIZE
885,7305,8730,7815
9930,3690,12495,5955
2760,360,3300
Waveform sssss
text3
plast
1830,3330,4335,3750
pfirst
-1350,3330,1155,3750
text3
plast
1830,3330,4335,3750
pfirst
-1350,3330,1155,3750
Midi files
text3
SetSpecialCursor ("special2")
"vo1"
tbkMCIchk("close video1","",1,1)
PlayWave("\sound\hwso2.wav")
theFile
sl01.avi"
strOpen
" &&
'&& "type AVIVideo alias
r style popup
" && sysClientHandle
S,"",1,1)
tbkMCIPositionWindow(
"tavia","")
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
close video1
tbkMCIchk
vPlayWave
\sound\hwso2.wav
\sound\sl01.avi
type AVIVideo alias video1 style popup parent
tbkMCIchk
tavia
tbkMCIPositionWindow
video1
strOpen
theFile
pfirst
-1350,3330,1155,3750
plast
1830,3330,4335,3750
Midi sssss
Repeat
":PHYSSIZE
SetSpecialCursor("Special2")
"vi1"
tbkMCIchk("close video1","",1,1)
theFile
"\sound\sl01.avi"
strOpen
" &&
+&& "type AVIVideo alias
W style popup
" && sysClientHandle
S,"",1,1)
tbkMCIPositionWindow(
"tavia","")
play
0","",1,1)
mouseLeave
mouseEnter
buttondown
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttondown
buttonup
close video1
tbkMCIchk
\sound\sl01.avi
type AVIVideo alias video1 style popup parent
tbkMCIchk
tavia
tbkMCIPositionWindow
play video1 from 0
tbkMCIchk
SetSpecialCursor
video1
strOpen
theFile
':PHYSSIZE
:PHYSSIZE
text1
plast
840,1575,5910,2040
pfirst
-4845,1575,225,2040
There are two types of sound files:your computer can work with: waveform files (which most often have the extension .WAV) and MIDI files (which have the extension .MID).ch have the extension .MID). Waveform files consist of all types of sounds: music, speech, sound effects, etc. MIDI files most commonly contain synthesized music.
av and ding.wav. You may also run across waveform files with the extensions .voc, .snd and .mod.
text2
pfirst
-4845,1575,225,2040
plast
840,1575,5910,2040
...and...
group1
SetSpecialCursor("Special2")
tbkMCIchk("
\sound\wave.avi type AVIVideo alias video1 style popup
" && sysClientHandle,"",1,1)
tbkMCIPositionWindow(
"waveform","")
play
0 wait","",1,1)
close
","",1,1)
eatclicks()
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
open \sound\wave.avi type AVIVideo alias video1 style popup parent
tbkMCIchk
waveform
tbkMCIPositionWindow
play video1 from 0 wait
tbkMCIchk
close video1
tbkMCIchk
eatclicks
video1
waveform
:PHYSSIZE
SetSpecialCursor("Special2")
"vo1"
4openwave
tbkMCIchk ("close wavefile","",1,1)
playwave ("\sound\s2.
w type waveaudio alias
0 hold","",1,1)
mouseLeave
mouseEnter
buttondown
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttondown
buttonup
vplaywave
\sound\s2.wav
:PHYSSIZE
group2
SetSpecialCursor("Special2")
tbkMCIchk("
\sound\midi.avi type AVIVideo alias video1 style popup
" && sysClientHandle,"",1,1)
tbkMCIPositionWindow(
m","")
play
0 wait","",1,1)
close
","",1,1)
eatclicks()
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
open \sound\midi.avi type AVIVideo alias video1 style popup parent
tbkMCIchk
tbkMCIPositionWindow
play video1 from 0 wait
tbkMCIchk
close video1
tbkMCIchk
eatclicks
video1
:PHYSSIZE
text1
plast
825,1530,8760,1530
pfirst
810,5205,8430,6060
Waveform files contain digitally recorded sound. This process is often referred to as "sampling."
text2
plast
810,5205,8430,5205
pfirst
1800,2490,7860,4755
Sampling is like breaking a sound into tiny pieces and storing each piece as a small, digital sample of the sound.
shadow1
picture1
SetSpecialCursor("Special2")
tbkMCIchk ("close wavefile","",1,1)
\sound\horn2x.
$ type waveaudio alias
Tplay
0 hold","",1,1)
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
close wavefile
tbkMCIchk
open \sound\horn2x.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
plast
1800,2490,7860,2490
pfirst
825,1530,8760,2325
:PHYSSIZE
810,5205,8430,6060
:PHYSSIZE
note2
plast
4845,345,5115,780
pfirst
8340,4575,8610,5010
note1
plast
4860,5257,5550,5947
pfirst
1815,4312,1920,4417
note3
plast
7635,3840,7815,4425
pfirst
1830,4410,1890,4605
note4
plast
1800,4552,1830,4597
pfirst
6525,5062,7215,5752
note5
plast
1800,4275,1830,4323
pfirst
8415,727,9105,1417
note6
"*pfirst
6525,5062,7215,5752
plast
6525,5062,7215,5752
note7
pfirst
plast
4845,345,5115,780
note8
*pfirst
8235,2752,8940,3157
<*plast
1785,4282,1968,4387
text1
,$D!)$
Because MIDI files contain instructions rather than data, you need a synthesizer to hear them. Many sound cards come with some form of synthesizer...........DI file is much smaller (usually only 1 percent) than a comparable waveform file.
MIDI files are much easier to edit than Waveform files.
IDI files: A MIDI file is much smaller (usually only 1 percent) than a comparable waveform file.
MIDI files are much easier to edit than Waveform files.
r to edit than Waveform files.
able waveform file. Since MIDI files contain only instructions, they are much easier to edit than Waveform files. MIDI files have the extension .MID.fferent depending on the equipment used - not just the quality but
text1
SetSpecialCursor ("Special2")
tbkMCIchk ("close wavefile","",1,1)
\sound\hwso3.
# type waveaudio alias
Splay
0 hold","",1,1)
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
close wavefile
tbkMCIchk
open \sound\hwso3.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
synthesizer .......................................................................................................................................r..........DI file is much smaller (usually only 1 percent) than a comparable waveform file.
MIDI files are much easier to edit than Waveform files.
IDI files: A MIDI file is much smaller (usually only 1 percent) than a comparable waveform file.
MIDI files are much easier to edit than Waveform files.
r to edit than Waveform files.
able waveform file. Since MIDI files contain only instructions, they are much easier to edit than Waveform files. MIDI files have the extension .MID.fferent depending on the equipment used - not just the quality but
6825,810,7005,1395
8340,4575,8610,5010
6825,810,7005,1395
PlayVideo
type AVIVideo alias video1 style popup parent
tbkMCIchk
tbkMCIPositionWindow
play video1 from 0 wait
tbkMCIchk
close video1
tbkMCIchk
eatClicks
video1
strOpen
thePlace
theFile
PlayAnimation
alias anim1 style popup
tbkMCIchk
anim1
tbkMCIPositionWindow
play anim1 wait
tbkMCIchk
close anim1
tbkMCIchk
strOpen
thePlace
theFile
alter
Plast
Pfirst
yieldApp
newBounds
coming
going
slice
leavepage
enterpage
exitbook
location
mouseleave
SetSpecialCursor
mouseenter
SetSpecialCursor
leavebook
TBKWIN.DLL
kernel
mycursor.dll
:PHYSSIZE
text1
plast
1845,2760,4170,3300
pfirst
1845,2760,4170,3300
In this lesson, you will learn about:n making mu
text4
plast
1845,2760,4170,3300
pfirst
-1965,2760,360,3300
Quality of sounds
reminder
:PHYSSIZE
text1
pfirst
-2415,1770,180,2475
plast
855,1770,3450,2475
Remember to click on these buttons whenever you see them in the lesson.
SetSpecialCursor("Special2")
"vo1"
tbkMCIchk("close video1","",1,1)
PlayWave("\sound\8id40.wav")
theFile
sl01.avi"
strOpen
" &&
'&& "type AVIVideo alias
r style popup
" && sysClientHandle
S,"",1,1)
tbkMCIPositionWindow(
"tavia","")
mouseLeave
mouseEnter
buttondown
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttondown
buttonup
close video1
tbkMCIchk
vPlayWave
\sound\8id40.wav
\sound\sl01.avi
type AVIVideo alias video1 style popup parent
tbkMCIchk
tavia
tbkMCIPositionWindow
video1
strOpen
theFile
:PHYSSIZE
tavia
:PHYSSIZE
text2
pfirst
1845,2760,4170,3300
plast
1845,2760,4170,3300
Waveform files
text3
plast
855,1770,3450,2475
pfirst
-2415,1770,180,2475
Midi files
1845,2760,4170,3300
1830,3900,4485,4350
1830,3900,4485,4350
-2280,3900,375,4350
1830,3330,4335,3750
-1350,3330,1155,3750
ng rate of 44.1kHz.ecorded at specific intervals. When a digitized sound is played back, these samples are used to reconstruct the sound...
text1
plast
pfirst
text3
The rate at which a sound is "sampled" can affect its quality.
y recorded and the options and equipment you use to digitize and listen to it.
puter.
tter the quality of the sound, the bigger the file will be. A file of stereo sound will be twice as big as a mono file; CD-quality audio will take up twice as much space as files recorded using the Windows Sound Recorder.
The quality of a sound is determined by how it was originally recorded and the methods you use to digitize the sound so it can be played on a computer.
gital file that can be played on a computer.
text2
The higher the sampling rate (the more pieces of the sound that are stored), the better the quality of sound. Common sampling rates are 11.025kHz, 22.05kHz, and 44.1kHz. The audio CDs you can buy at the store used a sampling rate of 44.1kHz.e used a sampling rate of 44.1kHz.ecorded at specific intervals. When a digitized sound is played back, these samples are used to reconstruct the sound...
1320,1950,3990,3330
9645,1950,12315,3330
kHz, 22.05 kHz, and 44.1kHz. The music CDs you can buy at the store used a sampling rate of 44.1kHz..................................re 11.025kHz, 22.05kHz, and 44.1kHz. The audio CDs you can buy at the store used a sampling rate of 44.1kHz.e used a sampling rate of 44.1kHz.ecorded at specific intervals. When a digitized sound is played back, these samples are used to reconstruct the sound...
1320,1950,3990,3330
SetSpecialCursor ("Special2")
tbkMCIchk ("close wavefile","",1,1)
\sound\hwso4.
# type waveaudio alias
Splay
0 hold","",1,1)
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
close wavefile
tbkMCIchk
open \sound\hwso4.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
4machine
Zspeed
4openwave
"group1"
"group2"
"text1"
-4845,1575,225,2040
"text2"
yeildApp()
pfirst
-4845,1575,225,2040
plast
840,1575,5910,2040
alter
tbkMCIchk("
\sound\
.avi type AVIVideo alias video1 style popup
" && sysClientHandle,"",1,1)
tbkMCIPositionWindow(
"waveform","")
play
0 wait","",1,1)
close
","",1,1)
midi.
" &&
,1,1)
)","")
","",1,1)
wavefile","",1,1)
570,1305,9360,2040
9585,1305,18375,2040
enterpage
leavepage
enterpage
group1
group2
text1
text2
yeildApp
text1
pfirst
text1
plast
alter
text1
group1
open \sound\wave.avi type AVIVideo alias video1 style popup parent
tbkMCIchk
waveform
tbkMCIPositionWindow
play video1 from 0 wait
tbkMCIchk
close video1
tbkMCIchk
text2
group2
open \sound\midi.avi type AVIVideo alias video1 style popup parent
tbkMCIchk
tbkMCIPositionWindow
play video1 from 0 wait
tbkMCIchk
close video1
tbkMCIchk
video1
speed
machine
leavepage
text1
pfirst
text1
plast
alter
text1
speed
machine
4machine
Zspeed
Zspeed2
"note1"
1800,4552,1830,4597
"note2"
1800,4275,1830,4323
"note3"
1815,4312,1920,4417
"note4"
1785,4282,1968,4387
"note5"
1830,4410,1890,4605
"note6"
8340,4575,8610,5010
"note7"
6525,5062,7215,5752
"note8"
6825,810,7005,1395
tbkMCIchk("
\sound\007.wav type waveaudio alias wavefile","",1,1)
Cplay
0 hold","",1,1)
pfirst
1800,4552,1830,4597
plast
8415,727,9105,1417
alter
1800,4275,1830,4323
4845,345,5115,780
6825,810,7005,1395
6825,810,7005,1395
6825,810,7005,1395
6825,810,7005,1395
1815,4312,1920,4417
4860,5257,5550,5947
8340,4575,8610,5010
8340,4575,8610,5010
8340,4575,8610,5010
8340,4575,8610,5010
1785,4282,1968,4387
8235,2752,8940,3157
1830,4410,1890,4605
7635,3840,7815,4425
6525,5062,7215,5752
6525,5062,7215,5752
6525,5062,7215,5752
6525,5062,7215,5752
close
enterpage
leavepage
enterpage
note1
note2
note3
note4
note5
note6
note7
note8
note2
note3
note4
note5
note6
note7
note8
open \sound\007.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
note1
pfirst
note1
plast
alter
note1
note2
note2
pfirst
note2
plast
alter
note2
note8
note8
pfirst
note8
plast
alter
note8
note8
note8
note8
pfirst
note8
plast
alter
note8
note8
note3
note3
pfirst
note3
plast
alter
note3
note6
note6
pfirst
note6
plast
alter
note6
note6
note6
note6
pfirst
note6
plast
alter
note6
note6
note4
note4
pfirst
note4
plast
alter
note4
note5
note5
pfirst
note5
plast
alter
note5
note7
note7
pfirst
note7
plast
alter
note7
note7
note7
note7
pfirst
note7
plast
alter
note7
note7
note6
note7
note8
speed2
speed
machine
leavepage
close wavefile
tbkMCIchk
4machine
Zspeed
"text1"
"text2"
450,1860,2490,1860
7440,6090,9165,6090
tbkMCIchk ("
\sound\s3.wav type waveaudio alias wavefile","",1,1)
Cplay
0 hold","",1,1)
yeildApp()
pfirst
450,1860,2490,1860
plast
450,1860,2490,5940
alter
7440,6090,9165,6090
7440,1890,9165,6090
close
enterpage
leavepage
enterpage
text1
text2
text1
text2
open \sound\s3.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
yeildApp
text1
text1
pfirst
text1
plast
alter
text1
text2
text2
pfirst
text2
plast
alter
text2
speed
machine
leavepage
close wavefile
tbkMCIchk
:PHYSSIZE
text1
plast
7440,6090,9165,6090
pfirst
450,1860,2490,5940
But a higher
sampling rate will also mean a
larger file size.
As with all
multimedia files,
these two
factors of size
and quality
often work
against each
other.er.rue when dealing with waveform files. The better the quality of the sound, the bigger the file will be. A file of stereo sound will be twice as big as a mono file; CD-quality audio will take up twice as much space as files recorded using the Windows Sound Recorder.
s recorded using the Windows Sound Recorder.
better the quality of the sound, the bigger the file will be. A file of stereo sound will be twice as big as a mono file; CD-quality audio will take up twice as much space as files recorded using the Windows Sound Recorder.
text2
plast
7440,1890,9165,6090
pfirst
7440,1890,9165,6090
This is no
less true
when
dealing with waveform
files. The
better the
quality of
the sound, the bigger the file
will be.....ound will be twice as big as a mono file. CD-quality audio will take up twice as much space as files recorded using the Windows Sound Recorder.
A file of stereo sound will be twice as big as a mono file; CD-quality audio will take up twice as much space as files recorded using the Windows Sound Recorder.
s recorded using the Windows Sound Recorder.
better the quality of the sound, the bigger the file will be. A file of stereo sound will be twice as big as a mono file; CD-quality audio will take up twice as much space as files recorded using the Windows Sound Recorder.
Repeat
SetSpecialCursor("Special2")
"vo1"
tbkMCIchk ("play wavefile
0 hold","",1,1)
mouseLeave
mouseEnter
buttondown
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttondown
buttonup
play wavefile from 0 hold
tbkMCIchk
:PHYSSIZE
450,1860,2490,1860
playwave ("\sound\8id2.
theFile
sl04.avi"
strOpen
" &&
'&& "type AVIVideo alias video1 style popup
" && sysClientHandle
tbkMCIchk(
_,"",1,1)
tbkMCIPositionWindow(
"tavia","")
0","",1,1)
f"close
","",1,1)
enterpage
leavepage
enterpage
vplaywave
\sound\8id2.wav
\sound\sl04.avi
type AVIVideo alias video1 style popup parent
tbkMCIchk
tavia
tbkMCIPositionWindow
play video1 from 0
tbkMCIchk
video1
strOpen
theFile
leavepage
close video1
tbkMCIchk
:PHYSSIZE
text1
pfirst
1665,4095,4800,4095
plast
1665,1605,4800,4095
This concludes the Sound lesson.on.
:PHYSSIZE
text1
plast
1665,1605,4800,4095
pfirst
1665,4095,4800,4095
Topics covered:
text3
plast
1830,3330,4335,3750
pfirst
-1350,3330,1155,3750
Midi files
text4
plast
1830,3900,4485,4350
pfirst
-2280,3900,375,4350
Quality of sounds
text2
pfirst
-1965,2760,360,3300
plast
1845,2760,4170,3300
Waveform files
:PHYSSIZE
tavia
SetSpecialCursor("Special2")
playvideo("\sound\sl04.avi"),("tavia")
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
playvideo
\sound\sl04.avi
tavia
:PHYSSIZE
System
Times New Roman
Arial
Times New Roman
Arial
:PRINTLAYOUT
mes New Roman
Arial
s Serif
Times New Roman
Times New Roman
Arial
Professor MULTIMEDIA
Arial
s Serif
mes New Roman
:PHYSSIZE
title
pfirst
9645,510,11535,1185
plast
1980,510,3870,1185
Sound
SetSpecialCursor("Special2")
eatclicks()
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
eatclicks
SetSpecialCursor("Special2")
gotomain
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
kgotomain
SetSpecialCursor("Special2")
exitbook
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
9rexitbook
SetSpecialCursor("Special2")
eatclicks()
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
eatclicks
"text1"
"text2"
"text3"
-4500,1470,510,1830
-2445,2835,-45,4995
9720,2940,11700,4710
tbkMCIchk("
\sound\whoosh3.wav type waveaudio alias wavefile","",1,1)
Gplay
0 hold","",1,1)
yeildApp()
pfirst
-4500,1470,510,1830
plast
870,1470,5880,1830
alter
-2445,2835,-45,4995
1170,2835,3570,4995
9720,2940,11700,4710
6525,2940,8505,4710
close
enterpage
enterpage
text1
text2
text3
text1
text2
text3
open \sound\whoosh3.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
yeildApp
text1
text1
pfirst
text1
plast
alter
text1
play wavefile from 0 hold
tbkMCIchk
text2
text2
pfirst
text2
plast
alter
text2
play wavefile from 0 hold
tbkMCIchk
text3
text3
pfirst
text3
plast
alter
text3
close wavefile
tbkMCIchk
text2
plast
1170,2835,3570,4995
pfirst
-2445,2835,-45,4995
Waveform files consist of all types of sounds: music, speech, sound effects, etc. MIDI files most commonly contain synthesized music.
OC or .SOU) and MIDI files (which have the extension .MID). Waveform files consist of all types of sounds: music, speech, sound effects, etc. MIDI files most commonly contain synthesized music.
av and ding.wav. You may also run across waveform files with the extensions .voc, .snd and .mod.
text1
pfirst
-4500,1470,510,1830
plast
870,1470,5880,1830
First let's look at waveform files..
text3
plast
6525,2940,8505,4710
pfirst
9720,2940,11700,4710
They most often have a file extension of .WAV.n of .WAV.
SetSpecialCursor("Special2")
PlayWave("\sound\boing4.wav")
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
vPlayWave
\sound\boing4.wav
:PHYSSIZE
T :PHYSSIZE
Sound Effects
SetSpecialCursor("Special2")
PlayWave("\sound\midi.wav")
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
vPlayWave
\sound\midi.wav
:PHYSSIZE
:PHYSSIZE
Music
SetSpecialCursor("Special2")
PlayWave("\sound\powrdown.wav")
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
vPlayWave
\sound\powrdown.wav
:PHYSSIZE
:PHYSSIZE
Speech
-- Script
bring the ToolBook screen
full
EnterBook
-- handler.
Will work
4resolution.
-- Use
each
"PMM.SBK"
Sysbooks
"TBKMM.
initbook
resources
c"&Utility"
e"Edit &Page
;Object
e"&Get Bounds
Selection"
c"&Style"
e"Arial 14 Field"
EditPageScript
EditBookScript
EditObjectScript
<> ""
GetBoundsOfSelection
ZoldSelect
-5,-5
-2,-2
"temp"
split_groups objlist
Zretval
theobj
Arial14Field
changeFieldFormat "
%",14,
newFace, newSize,
ZtheObj
initBook
4curstep
4clickable
4nonclickable
-- need
2 -- Arrow
buttoncolor
0,75.3125,0
linkDLL "TBKWIN.
INT xUnitsFromPixels(
yUnitsFromPixels(
Suser"
GetSystemMetrics(
aPeekMessage(POINTER,WORD,
-- these functions
allocating global memory
kernel"
L GlobalAlloc(
[DWORD)
n GlobalLock(
y GlobalUnlock(
GlobalFree(
A GetMyFlags = GetWinFlags()
X"mycursor.dll"
SetSpecialCursor(STRING)
GetSpecialCursor()
width
height
capHeight
getSystemMetrics(4)
resize borders
bwidth
bheight
-- Open
maximum
-1*
L,-1*
clientarea_y
17)+28
clientarea_x
16)+8
-- Convert pixels
units.
clientarea_y_units
sysMagnification,
clientarea_x_units
-- Define
GetProcessor
config
k2) <>0
retvalue
4machine
-- General purpose
4-wide stuff
gotomain
8"\mainmenu\
.tbk"
-- PlayWave
-- Plays
] passed wave file
-- Waits
finish
4returning
-- opens
closes
waveaudio device
-- will abort
ferror message
-- already
theFile
ZstrOpen
" &&
% && "type
}alias wavefile"
tbkMCIchk(
>,"",1,1)
"play
0 wait","",1,1)
G,"",1,1)
eatclicks()
PlayMidi
" &&
&& "
sequencer
midifile"
,"",1,1)
2,"",1,1)
a Video
-- Need
video (
PlayVideo
,thePlace
" &&
&& "
AVIVideo
video1 style popup
" && sysClientHandle
,"",1,1)
tbkMCIPositionWindow(
","",1,1)
eatClicks()
-- PlayAnimation:
animation (
{which holds
place (
" &&
&& "
anim1
,"",1,1)
c:\toolbook\flow.fli
","",1,1)
","",1,1)
-- Alter:
This one does
{animations
alter obj,slice
ZCx1,Cx2,Cy1,Cy2,Gx1,Gx2,Gy1,Gy2
ZIx1,Ix2,Iy1,Iy2
going
Plast
coming
Pfirst
newBounds
yieldApp()
-- default
-- locks
-- unlocks
-- If use
exitbook location
objectFromPoint(
-- ignore
xreleased over
enterbook
changeFieldFormat
initBook
EditBookScript
resources
author
reader
EditObjectScript
gotomain
PlayWave
EditPageScript
PlayMidi
PlayVideo
PlayAnimation
GetBoundsOfSelection
alter
leavepage
enterpage
Arial14Field
exitbook
mouseleave
mouseenter
groups
split_groups
GetProcessor
enterbook
PMM.SBK
PMM.SBK
TBKMM.SBK
TBKMM.SBK
ulinitbook
resources
&Utility
Edit &Page Script
&Utility
Edit &Book Script
&Utility
Edit &Object Script
&Utility
&Get Bounds of Selection
&Utility
&Style
Arial 14 Field
&Style
EditPageScript
EditBookScript
EditObjectScript
GetBoundsOfSelection
clear
oldSelect
split_groups
group
Wungroup
theobj
retval
objlist
Arial14Field
changeFieldFormat
Arial
changeFieldFormat
theObj
objlist
newSize
newFace
initBook
TBKWIN.DLL
xUnitsFromPixels
yUnitsFromPixels
GetSystemMetrics
PeekMessage
kernel
GlobalAlloc
GlobalLock
GlobalUnlock
GlobalFree
GetMyFlags
GetWinFlags
mycursor.dll
SetSpecialCursor
GetSpecialCursor
GetSystemMetrics
GetSystemMetrics
getSystemMetrics
GetSystemMetrics
GetSystemMetrics
GetSystemMetrics
GetSystemMetrics
yUnitsFromPixels
xUnitsFromPixels
clientarea_x_units
clientarea_y_units
clientarea_x
clientarea_y
bheight
bwidth
capHeight
height
width
buttoncolor
nonclickable
clickable
curstep
GetProcessor
GetMyFlags
retvalue
config
resources
GetProcessor
machine
author
reader
ulinitBook
gotomain
\mainmenu\mainmenu.tbk
PlayWave
type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 wait
tbkMCIchk
close wavefile
tbkMCIchk
eatclicks
strOpen
theFile
PlayMidi
type sequencer alias midifile
tbkMCIchk
play midifile from 0 wait
tbkMCIchk
close midifile
tbkMCIchk
eatclicks
strOpen
theFile
PlayVideo
type AVIVideo alias video1 style popup parent
tbkMCIchk
tbkMCIPositionWindow
play video1 from 0 wait
tbkMCIchk
close video1
tbkMCIchk
eatClicks
video1
strOpen
thePlace
theFile
PlayAnimation
alias anim1 style popup
tbkMCIchk
anim1
tbkMCIPositionWindow
play anim1 wait
tbkMCIchk
close anim1
tbkMCIchk
strOpen
thePlace
theFile
alter
Plast
Pfirst
yieldApp
newBounds
coming
going
slice
leavepage
enterpage
exitbook
location
mouseleave
SetSpecialCursor
mouseenter
SetSpecialCursor
percent) than a comparable waveform file.
MIDI files are much easier to edit than Waveform files.
r to edit than Waveform files.
able waveform file. Since MIDI files contain only instructions, they are much easier to edit than Waveform files. MIDI files have the extension .MID.fferent depending on the equipment used - not just the quality but
text1
SetSpecialCursor ("Special2")
tbkMCIchk ("close wavefile","",1,1)
\sound\hwso3.
# type waveaudio alias
Splay
0 hold","",1,1)
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
close wavefile
tbkMCIchk
open \sound\hwso3.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
synthesizer.........................................................................................................................................r..........DI file is much smaller (usually only 1 percent) than a comparable waveform file.
MIDI files are much easier to edit than Waveform files.
IDI files: A MIDI file is much smaller (usually only 1 percent) than a comparable waveform file.
MIDI files are much easier to edit than Waveform files.
r to edit than Waveform files.
able waveform file. Since MIDI files contain only instructions, they are much easier to edit than Waveform files. MIDI files have the extension .MID.fferent depending on the equipment used - not just the quality but
4machine
Zspeed
"text1"
900,2790,900,4935
pfirst
900,2790,900,4935
plast
900,2790,6000,4935
alter
enterpage
enterpage
text1
text1
text1
text1
pfirst
text1
plast
alter
text1
speed
machine
note2
SetSpecialCursor("Special2")
playwave ("\sound\dong2.
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
vplaywave
\sound\dong2.wav
pfirst
1800,4275,1830,4323
plast
4845,345,5115,780
.75""
text1
plast
900,2790,6000,4935
pfirst
900,2790,900,4935
Unlike waveform files, MIDI files contain
instructions rather than actual sound
data. These instructions include such
things as notes and their durations
needed to re-create a sound.
SetSpecialCursor("Special2")
playwave ("\sound\ding2.
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
vplaywave
\sound\ding2.wav
note5
pfirst
1830,4410,1890,4605
plast
7635,3840,7815,4425
4machine
Zspeed
"text1"
885,7305,8730,7815
"group1"
-3147,2205,-60,4905
"group2"
9930,3690,12495,5955
"text2"
"text3"
tbkMCIchk("
\sound\tune3.wav type waveaudio alias wavefile","",1,1)
Eplay
0 hold","",1,1)
yeildApp()
pfirst
885,7305,8730,7815
plast
885,1470,8730,1980
alter
-3147,2205,-60,4905
5808,2205,8895,4905
9930,3690,12495,5955
1770,3690,4335,5955
("close
enterpage
leavepage
enterpage
text1
group1
group2
group2
text1
text2
text3
open \sound\tune3.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
yeildApp
text1
text1
pfirst
text1
plast
alter
text1
group1
group1
pfirst
group1
plast
alter
group1
group2
group2
pfirst
group2
plast
alter
group2
text2
text3
speed
machine
leavepage
close wavefile
tbkMCIchk
4machine
Zspeed
4openwave
"group2"
4530,3285,4980,3300
pfirst
4530,3285,4980,3300
plast
735,1575,8895,5865
alter
tbkMCIchk ("close wavefile","",1,1)
enterpage
leavepage
enterpage
group2
pfirst
plast
alter
group2
openwave
speed
machine
leavepage
close wavefile
tbkMCIchk
openwave
plast
735,1575,8895,5865
pfirst
735,1575,8895,5865
Now let's look at MIDI files.
MIDI stands for
Musical Instrument
Digital Interface. As
its name implies,
MIDI files can store
music only.WAV, but sometimes .VOC or .SOU) and MIDI files (which have the extension .MID). Waveform files consist of all types of sounds: music, speech, sound effects, etc. MIDI files most commonly contain synthesized music.
av and ding.wav. You may also run across waveform files with the extensions .voc, .snd and .mod.
MIDI files have the extension .MID.
text2
A MIDI file is much smaller than a
comparable
waveform file. (Usually only 1 percent.)percent) than a comparable waveform file.
MIDI files are much easier to edit than Waveform files.
o hear it; many sound cards come with some form of a synthesizer.
There are some advantages to using MIDI files: A MIDI file is much smaller (usually only 1 percent) than a comparable waveform file.
MIDI files are much easier to edit than Waveform files.
r to edit than Waveform files.
able waveform file. Since MIDI files contain only instructions, they are much easier to edit than Waveform files. MIDI files have the extension .MID.fferent depending on the equipment used - not just the quality but
group2
SetSpecialCursor("Special2")
4openwave
tbkMCIchk ("close wavefile","",1,1)
"vo1"
\sound\music.
] type waveaudio alias
jplay
0 hold","",1,1)
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
close wavefile
tbkMCIchk
open \sound\music.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
openwave
:PHYSSIZE
:PHYSSIZE
Midi Music
4530,3285,4980,3300
"answer"
enterpage
enterpage
answer
clear
answer
:PHYSSIZE
:PHYSSIZE
Click on the sound icon below. Is the sound you hear a waveform file or a MIDI file????????
answer
theKey,IsShift,IsCtrl
= keyEnter
checkanswer
keychar
keychar
checkanswer
IsCtrl
IsShift
theKey
Click Here
SetSpecialCursor("Special2")
checkanswer
eatclicks()
"wave"
"waveform"
file"
PlayWave("\sound\sq1.
"midi"
mouseLeave
mouseEnter
buttonup
checkanswer
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
checkanswer
eatclicks
checkanswer
answer
waveform
wave file
waveform file
vPlayWave
\sound\sq1.wav
midi file
vPlayWave
\sound\sq3.wav
vPlayWave
\sound\sq2.wav
answer
answer
answer
:PHYSSIZE
SetSpecialCursor("Special2")
"vo1"
PlayWave("\sound\bubbling.wav")
"answer"
mouseLeave
mouseEnter
buttondown
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttondown
buttonup
vPlayWave
\sound\bubbling.wav
answer
answer
:PHYSSIZE
SetSpecialCursor("Special2")
4machine
Zspeed
speed2
"note2"
"note3"
"note4"
"note5"
"note6"
"note7"
"note8"
tbkMCIchk ("close wavefile","",1,1)
\sound\007.
! type waveaudio alias
Qplay
0 hold","",1,1)
pfirst
"note1"
1800,4552,1830,4597
plast
8415,727,9105,1417
alter
1800,4275,1830,4323
4845,345,5115,780
6825,810,7005,1395
6825,810,7005,1395
6825,810,7005,1395
6825,810,7005,1395
1815,4312,1920,4417
4860,5257,5550,5947
8340,4575,8610,5010
8340,4575,8610,5010
8340,4575,8610,5010
8340,4575,8610,5010
1785,4282,1968,4387
8235,2752,8940,3157
1830,4410,1890,4605
7635,3840,7815,4425
6525,5062,7215,5752
6525,5062,7215,5752
6525,5062,7215,5752
6525,5062,7215,5752
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
note2
note3
note4
note5
note6
note7
note8
close wavefile
tbkMCIchk
open \sound\007.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
note1
pfirst
note1
plast
alter
note1
note2
note2
pfirst
note2
plast
alter
note2
note8
note8
pfirst
note8
plast
alter
note8
note8
note8
note8
pfirst
note8
plast
alter
note8
note8
note3
note3
pfirst
note3
plast
alter
note3
note6
note6
pfirst
note6
plast
alter
note6
note6
note6
note6
pfirst
note6
plast
alter
note6
note6
note4
note4
pfirst
note4
plast
alter
note4
note5
note5
pfirst
note5
plast
alter
note5
note7
note7
pfirst
note7
plast
alter
note7
note7
note7
note7
pfirst
note7
plast
alter
note7
note7
note6
note7
note8
speed2
speed
machine
heFile
sl01.avi"
strOpen
" &&
'&& "type AVIVideo alias
r style popup
" && sysClientHandle
S,"",1,1)
tbkMCIPositionWindow(
"tavia","")
mouseLeave
mouseEnter
buttondown
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttondown
buttonup
close video1
tbkMCIchk
vPlayWave
\sound\8id40.wav
\sound\sl01.avi
type AVIVideo alias video1 style popup parent
tbkMCIchk
tavia
tbkMCIPositionWindow
video1
strOpen
theFile
:PHYSSIZE
tavia
:PHYSSIZE
text2
pfirst
1845,2760,4170,3300
plast
-2415,1770,180,2475
Waveform files
text3
plast
-2280,3900,375,4350
pfirst
1830,3330,4335,3750
Midi files
855,1770,3450,2475
-1350,3330,1155,3750
4machine
Zspeed
"text1"
"text2"
"text3"
"text4"
"bul1"
"bul2"
"bul3"
"reminder"
-2415,1770,180,2475
-1965,2760,360,3300
-1350,3330,1155,3750
-2280,3900,375,4350
pfirst
-2415,1770,180,2475
plast
855,1770,3450,2475
alter
-1965,2760,360,3300
1845,2760,4170,3300
-1350,3330,1155,3750
1830,3330,4335,3750
-2280,3900,375,4350
1830,3900,4485,4350
theFile
"\sound\sl01.avi"
strOpen
" &&
+&& "type AVIVideo alias video1 style popup
" && sysClientHandle
tbkMCIchk(
_,"",1,1)
tbkMCIPositionWindow(
"tavia","")
B"play
0","",1,1)
"close
","",1,1)
enterpage
leavepage
enterpage
text1
text2
text3
text4
reminder
text1
text2
text3
text4
text1
text1
pfirst
text1
plast
alter
text1
text2
text2
pfirst
text2
plast
alter
text2
text3
text3
pfirst
text3
plast
alter
text3
text4
text4
pfirst
text4
plast
alter
text4
\sound\sl01.avi
type AVIVideo alias video1 style popup parent
tbkMCIchk
tavia
tbkMCIPositionWindow
play video1 from 0
tbkMCIchk
reminder
video1
strOpen
theFile
speed
machine
leavepage
close video1
tbkMCIchk
:PHYSSIZE
4machine
Zspeed
"text1"
"text2"
"picture1"
"shadow1"
825,1530,8760,1530
810,5205,8430,5205
1800,2490,7860,2490
tbkMCIchk ("
\sound\tune1.wav type waveaudio alias wavefile","",1,1)
Fplay
0 hold","",1,1)
yeildApp
pfirst
825,1530,8760,1530
plast
825,1530,8760,2325
alter
1800,2490,7860,2490
1800,2490,7860,4755
810,5205,8430,5205
810,5205,8430,6060
close
enterpage
leavepage
enterpage
text1
text2
picture1
shadow1
text1
text2
picture1
open \sound\tune1.wav type waveaudio alias wavefile
\sound\tune2.wav type waveaudio alias wavefile","",1,1)
Fplay
0 hold","",1,1)
yeildApp
pfirst
9645,1950,12315,3330
plast
1320,1950,3990,3330
alter
close
enterpage
leavepage
enterpage
text1
text2
text3
text1
open \sound\tune2.wav type waveaudio alias wavefile
tbkMCIchk
play wavefile from 0 hold
tbkMCIchk
text1
text1
pfirst
text1
plast
alter
text1
text2
text3
yeildApp
speed
machine
leavepage
close wavefile
tbkMCIchk
text3
plast
1935,4440,2550,5040
pfirst
8280,1365,8895,1980
:PHYSSIZE
plast
5175,2130,5805,2730
pfirst
7560,1365,8190,1980
:PHYSSIZE
plast
870,1440,1500,2055
pfirst
6825,1365,7455,1980
:PHYSSIZE
text3
Common sampling rates are 11.025 kHz, 22.05 kHz, and 44.1kHz. The music CDs you can buy at the store use a sampling rate of 44.1kHz..re 11.025kHz, 22.05kHz, and 44.1kHz. The audio CDs you can buy at the store used a sampling rate of 44.1kHz.e used a sampling rate of 44.1kHz.ecorded at specific intervals. When a digitized sound is played back, these samples are used to reconstruct the sound...
text1
<!plast
pfirst
text3
The rate at which a sound is "sampled" can affect its quality.
y recorded and the options and equipment you use to digitize and listen to it.
puter.
tter the quality of the sound, the bigger the file will be. A file of stereo sound will be twice as big as a mono file; CD-quality audio will take up twice as much space as files recorded using the Windows Sound Recorder.
The quality of a sound is determined by how it was originally recorded and the methods you use to digitize the sound so it can be played on a computer.
gital file that can be played on a computer.
text2
The higher the sampling rate (the more pieces of the sound that are stored), the better the quality of sound. Common sampling rates are 11.025kHz, 22.05kHz, and 44.1kHz. The audio CDs you can buy at the store used a sampling rate of 44.1kHz.e used a sampling rate of 44.1kHz.ecorded at specific intervals. When a digitized sound is played back, these samples are used to reconstruct the sound...
9645,1950,12315,3330
kHz, 22.05 kHz, and 44.1kHz. The music CDs you can buy at the store used a sampling rate of 44.1kHz..................................re 11.025kHz, 22.05kHz, and 44.1kHz. The audio CDs you can buy at the store used a sampling rate of 44.1kHz.e used a sampling rate of 44.1kHz.ecorded at specific intervals. When a digitized sound is played back, these samples are used to reconstruct the sound...
1320,1950,3990,3330
SetSpecialCursor ("Special2")
tbkMCIchk ("close wavefile","",1,1)
\sound\hwso4.
# type waveaudio alias
Splay
0 hold","",1,1)
ouseEnter
mouseLeave
mouseEnter
buttonup
mouseEnter
Special2
SetSpecialCursor
mouseLeave
SetSpecialCursor
buttonup
close wavefile
tbkMCIchk
open \sound\hwso4.wav type waveaudio alias wavefile